# encoding: utf-8




def isNum(s):
	t = (int, float, complex)
	try:
		if type(eval(s)) in t:
			return True
		else:
			return False
	except:
		return False
		

print(isNum('234a+1'))
	
		